var isNull = function (str){
    if ( str == "" ) return true;
    var regu = "^[ ]+$";
    var re = new RegExp(regu);
    return re.test(str);
}
var carFunction = function (){
    $("#id_cart").click(function () {
        window.location.href ="/order/cartPage"
    })
}
var accountFunction = function (){
    $("#id_acount").click(function () {
        window.location.href ="/user/account"
    })
}
var collectionFunction = function (){
    $("#id_collection").click(function () {
        window.location.href = "/goods/collection/";
    })
}
$(document).ready(function (){
    carFunction()
    accountFunction()
    collectionFunction()
})

